package demo5;

public class ThreadSleep implements Runnable{

    @Override
    public void run() {
        System.out.println("Thread 方法开始");
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("Thread 方法结束");
    }

}
